// community/users/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    name: "Farming Group",
    user_count: 128,
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },
  onReady() {
    wx.request({
      url: 'https://qh-free.supengjun.com/qinghang/api/circle/circle_fans?id=2&page=1',
      header: {
        token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIhQCMkJSomIiwiYXVkIjoiIiwiaWF0IjoxNzAxMjM3OTI4LCJuYmYiOjE3MDEyMzc5MzEsImV4cCI6MTcwMTg0MjcyOCwiZGF0YSI6eyJ1aWQiOjEwMTA2NX19.5yLdFOiD8KV6rVNRGre35m1FJsisQOqc6k8ILQYtcAk"
      },
      success: (res) => {
        console.log(res)
        this.setData({
          list: res.data.data.data
        })
      }
    })
  }
})